<?php
Class Info{

	public static function setInfo($str){
		$_SESSION['info'] = $str;
	}
	public static function getInfo(){
		$str = $_SESSION['info'];
		$_SESSION['info'] = "";
		return $str;
	}
	
	public static function setError($str){
		$_SESSION['error'] = $str;
	}
	public static function getError(){
		$str = $_SESSION['error'];
		$_SESSION['error'] = "";
		return $str;
	}
	
}
?>